const utils = {
  toast:(title='加载失败。。。')=>{
  wx.showToast({
    title,
    icon:"none",
    mask: true,
  })},
  dataFormat:(datas)=>{
    const data = new Date(datas)
    const yare = data.getFullYear()
    const month = data.getMonth()+1 
    const day = data.getDate()
    return [yare,month,day].map(item=>(item>=10?item:'0'+item)).join('-')
  }
}
wx.utils=utils